package com.zust.model;

import lombok.Data;

@Data
public class Result {
    //json数据
    private Object data;
    //状态码
    private Integer code;
    //提示信息
    private String msg;

    public Result() {
    }

    public Result(Integer code, Object data) {
        this.data = data;
        this.code = code;
    }

    public Result(Integer code, Object data, String msg) {
        this.data = data;
        this.code = code;
        this.msg = msg;
    }
}
